﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DDD4Fun.Repository
{
    //ClassicFruit 自己使用的接口实现和公用接口继承
    public class ClassicFruitRepository : FruitRepository<ClassicFruit> ,IClassicFruitRepository
    {
        #region IClassicFruitRepository Members

        public void ClassicFunc(ClassicFruit fruit)
        {
            Console.WriteLine("name:" + fruit.name + "score:" + fruit.score);
        }

        #endregion

        public string testfunc(Func<string,string> convert)
        {
            return convert("");
        }



        #region IClassicFruitRepository Members


        public ClassicFruit GetFruit()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
